package com.macrohard.mapper.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName jpush
 */
@TableName(value ="jpush")
public class Jpush implements Serializable {
    /**
     * 
     */
    @TableId(value = "J_id", type = IdType.AUTO)
    private Integer jId;

    /**
     * 
     */
    @TableField(value = "J_st")
    private Integer jSt;

    /**
     * 
     */
    @TableField(value = "J_message")
    private String jMessage;

    /**
     * 
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 
     */
    @TableField(value = "j_acid")
    private Integer jAcid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getjId() {
        return jId;
    }

    /**
     * 
     */
    public void setjId(Integer jId) {
        this.jId = jId;
    }

    /**
     * 
     */
    public Integer getjSt() {
        return jSt;
    }

    /**
     * 
     */
    public void setjSt(Integer jSt) {
        this.jSt = jSt;
    }

    /**
     * 
     */
    public String getjMessage() {
        return jMessage;
    }

    /**
     * 
     */
    public void setjMessage(String jMessage) {
        this.jMessage = jMessage;
    }

    /**
     * 
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * 
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    /**
     * 
     */
    public Integer getjAcid() {
        return jAcid;
    }

    /**
     * 
     */
    public void setjAcid(Integer jAcid) {
        this.jAcid = jAcid;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Jpush other = (Jpush) that;
        return (this.getjId() == null ? other.getjId() == null : this.getjId().equals(other.getjId()))
            && (this.getjSt() == null ? other.getjSt() == null : this.getjSt().equals(other.getjSt()))
            && (this.getjMessage() == null ? other.getjMessage() == null : this.getjMessage().equals(other.getjMessage()))
            && (this.getCreatetime() == null ? other.getCreatetime() == null : this.getCreatetime().equals(other.getCreatetime()))
            && (this.getjAcid() == null ? other.getjAcid() == null : this.getjAcid().equals(other.getjAcid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getjId() == null) ? 0 : getjId().hashCode());
        result = prime * result + ((getjSt() == null) ? 0 : getjSt().hashCode());
        result = prime * result + ((getjMessage() == null) ? 0 : getjMessage().hashCode());
        result = prime * result + ((getCreatetime() == null) ? 0 : getCreatetime().hashCode());
        result = prime * result + ((getjAcid() == null) ? 0 : getjAcid().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", jId=").append(jId);
        sb.append(", jSt=").append(jSt);
        sb.append(", jMessage=").append(jMessage);
        sb.append(", createtime=").append(createtime);
        sb.append(", jAcid=").append(jAcid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}